package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_menu")
public class MenuVo {

    @TableId(type = IdType.AUTO)
    private Integer menuId;
    private String menuName;
    private String menuSuperiors;
    private String menuPath;

    @TableField(exist = false)
    private List<MenuVo> childMenu;
    @TableField(exist = false)
    private String roleName;

}
